Introduction to ANSI C and C++ Programming for Non-C Programmers
This 5-day course teaches programmers with elementary ANSI C and C++ programming experience how to program using the ANSI C and C++ languages in a non-object-oriented manner. This course prepares programmers for the course "C++ and Object-Oriented Programming (for C Programmers)."
Topics covered include inline functions, overloaded functions,
function templates, default arguments, references, const qualifier,
arrays, multiple-subscripted arrays, pointers, pointer arithmetic,
function pointers, strings, structures, enumerations, sequential access
files, direct access files, software simulation, structures, bitwise
operators, bit manipulation, unions, preprocessor directives, macros,
optimizing memory use, and improving execution performance. The course
offers extensive laboratory experience. Solutions are provided for
laboratory exercises. 60% lecture and 40% laboratory exercises.
Prerequisites
- General familiarity with your operating system environment
- Ability to create and edit text files
- ╖ Ability to program in ANSI C or C++ at the level of "Introduction to ANSI C and C++ Programming for Nonprogrammers," or ability to program in another high-level language.
Course Objectives
- Write inline, overloaded, and template function definitions
- Pass default arguments to functions
- Understand reference parameters to functions
- Write programs that manipulate multiple-subscripted arrays
- Pass multiple-subscripted arrays to functions
- Program pointers, including complex pointer operations
- Understand the relationships among arrays, pointers, and strings
- Understand and use the const qualifier
- Implement a substantial simulation program
- Understand and code basic searching and sorting algorithms
- Understand and use structures
- Program using indirection, pointer arithmetic, arrays of pointers,
arrays of structures,
- bitwise operators, unions, preprocessor directives and macros,
function pointers,
- strings, and enumerated types
- Use programming techniques that optimize memory use and execution
performance
- Create and manipulate sequential-access files
- Create and manipulate direct-access files
© Copyright 1995-6, Rogue Wave
Software, Inc.